package xyz.luckyli;

import redis.clients.jedis.Jedis;

/**
 * ClassName:TestPing
 * Package:xyz.luckyli
 * Description:
 *
 * @Date:2020/8/26 16:32
 * @Author:857251389@qq.com
 */
public class TestPing {
    public static void main(String[] args) {
        //创建对象
        Jedis jedis = new Jedis("124.70.161.113",6379);
        //测试连接
        System.out.println(jedis.ping());
    }
}
